package GUITest;

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;

public class BigTest {
	
	public static void main(String[] args) {
		JFrame mainFrame = new JFrame("GUIBigTest");
		JMenuBar menuBar = new JMenuBar();
		JPanel panel = new JPanel();
		panel.setLayout(new GridLayout(2,1));

		Container painter = mainFrame.getContentPane();
		JTextArea code = new JTextArea();
		
		JMenu menu = new JMenu("File");
		menuBar.add(menu);
		
		code.setSize(400, 100);
		
		mainFrame.setSize(400, 400);
		
		panel.add(menuBar);
		mainFrame.add(panel, BorderLayout.NORTH);
		mainFrame.add(code, BorderLayout.SOUTH);
		
		mainFrame.setVisible(true);
	}

}
